package io.renren.modules.app.entity.nosql;

import java.io.Serializable;
import java.util.Date;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * pdf 日志
 * 
 * @author Administrator
 *
 */
@Data
@Accessors(chain = true)
@Document(collection = "pdf_info")
public class PdfInfo implements Serializable {
	private static final long serialVersionUID = 7783823451275134491L;

	@Id
	private String id;

	@Indexed
	private String name;
	// 标注流程类型
	private String process;
	private Date createTime;
	private String path;

	public PdfInfo(String name, String process,String path) {
		super();
		this.name = name;
		this.process = process;
		this.createTime = new Date();
		this.path = path;
	}

	public PdfInfo() {
		super();
	}

}
